﻿
@{
    ViewBag.Title = "Jiudian";
    Layout = "~/Views/_LayoutPage1.cshtml";
}
<div>
    <header id="fh5co-header" class="fh5co-cover fh5co-cover-sm" role="banner" style="background-image: url('../../shouyeyangshi/images/work.jpg');">
        <div class="overlay"></div>
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-md-offset-2 text-center">
                    <div class="display-t">
                        <div class="display-tc animate-box" data-animate-effect="fadeIn">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <div id="fh5co-project">
        <div class="container">
            <div class="row">
                
                <div class="col-md-6">
                    <h2>房间图片</h2>
                    <img src="~/Shouyeyangshi/images/dachuangfang1.png" style="height:700px;width:500px" />
                </div>
                <div class="col-md-6">
                    <h2>预定房间</h2>
                    <form action="/Home/AddJiudian" method="post"> 
                        <div class="form-group">
                            <span style="display:none">@Session["id"]</span>
                            <label for="checkin">入住日期</label>
                            <input name="Checkintime" type="date" class="form-control" id="checkin" required>
                        </div>
                        <div class="form-group">
                            <label for="checkout">离店日期</label>
                            <input name="Checkin" type="date" class="form-control" id="checkout" required> 
                        </div> 
                        <div class="form-group">
                            <label for="roomtype">房型</label>
                            <select class="form-control" id="roomtype" name="HotelTypeId" required>
                                <option value="1">标准间</option>
                                <option value="2">豪华套房</option>
                                <option value="3">家庭房</option>
                                <option value="4">海景房</option>
                                <option value="5">山景房</option>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="numberofguests">客人数</label>
                            <input name="NumOfBeds" type="number" class="form-control" id="numberofguests"required>
                        </div>
                        <div class="form-group">
                            <label for="name">姓名</label>
                            <input name="Username" type="text" class="form-control" id="name"required>
                        </div>
                        <div class="form-group">
                            <label for="email">电子邮件</label>
                            <input name="Email" type="email" class="form-control" id="email" required>
                        </div>
                        <div class="form-group">
                            <label for="phone">电话</label>
                            <input name="Phone" type="tel" class="form-control" id="phone" required>
                        </div>
                        <button type="submit" class="btn btn-primary btn-block">提交</button>
                    </form>
                </div>
            </div>
        </div>



     
    </div>

</div>